package com.learn.xueer.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.learn.xueer.R
import com.learn.xueer.app.base.BaseActivity
import com.learn.xueer.databinding.ActivityOrderBinding
import com.learn.xueer.ui.viewmodel.MineViewModel
import me.hgj.jetpackmvvm.util.startActivity

/**
 * 我的订单
 */
class MyOrderActivity : BaseActivity<MineViewModel, ActivityOrderBinding>() {
    override fun initView(savedInstanceState: Bundle?) {
        mDatabind.click = ProxyClick()
        mViewModel.orderListReq()
    }

    inner class ProxyClick {

        fun myOrder() {
            startActivity(SetActivity::class)
        }

        fun back() {
            finish()
        }


    }
}